package org.lmind.scale.study

abstract class AbstractClass {

}
case class ExtendClass(a: Int) extends AbstractClass
case class ExtendClass2(a: Int, b: Int) extends AbstractClass
case class ExtendClass3(a: Int, b: Int) extends AbstractClass

object CaseClass {
  
  def x = 12

  def main(args: Array[String]) {
    var a = receiveWithin(1)(2)((c: Int) => c)
    var cx = x
  }
  
  def receiveWithin(a: Long)(b: Int)(c: Int => Int) {
    println(a + b + c(b));
  }
}